<template>
  <div class="logo">
    <div class="imgIuIu">{{ tc("项目名称") }}</div>
    <slot name="name"></slot>
  </div>
</template>

<script setup lang="ts">
import {tc} from "@/locales/index"
</script>

<style lang="scss" scoped>
.logo {
  width: 140px;
  height: 45px;

  display: flex;
  align-items: center;
  .imgIuIu {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: var(--el-color-primary);
    color: #fff;
    font-size: 25px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  ::v-deep(.login-logo) {
    font-size: 20px;
    margin-left: 10px;
    font-weight: bold;
    color:#000;
  }
  ::v-deep(.login-aside) {
    font-size: 20px;
    margin-left: 10px;
    font-weight: bold;
    color:#fff;
  }
}
</style>
